/**
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package io.gitee.huangjianbo.supos.openapi.spring;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author tomcat
 * @version 1.0
 */
@ConfigurationProperties(prefix = "supos.sdk")
public class SuposApiClientConfigProperties {

    /**
     * supOS的访问令牌
     * <p>
     * 用户登录或单点登录生成的
     */
    private String ticket;
    /**
     * 访问AK
     */
    private String accessKey;
    /**
     * 访问SK
     */
    private String secretKey;
    /**
     * supOS的访问地址
     */
    private String endpoint;
    /**
     * APP的唯一ID
     */
    private String appId;
    /**
     * 租户ID
     */
    private String tenantId;
    /**
     * 默认语言，当调用方未指定时使用此值为参
     */
    private String defaultLanguage = "zh_CN";
    /**
     * 服务名称
     */
    private String serviceName;

    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getDefaultLanguage() {
        return defaultLanguage;
    }

    public void setDefaultLanguage(String defaultLanguage) {
        this.defaultLanguage = defaultLanguage;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }
}
